package com.openlab.service.basic.epidemic.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.openlab.service.basic.epidemic.dto.DetailDto;
import com.openlab.service.basic.epidemic.dto.ListInfo;
import com.openlab.service.basic.epidemic.entity.Epidemic;
import com.openlab.service.basic.epidemic.mapper.EpidemicMapper;
import com.openlab.service.basic.epidemic.service.EpidemicService;
import org.springframework.stereotype.Service;


@Service
public class EpidemicServiceImpl extends ServiceImpl<EpidemicMapper, Epidemic> implements EpidemicService {
    @Override
    public IPage<ListInfo> selectPageVo(IPage<ListInfo> page, Integer id,Integer tourCode,Integer returnHometown) {
        return baseMapper.selectPageVo(page,id,tourCode,returnHometown);
    }

    @Override
    public DetailDto selectDetail(Long id, Integer community_id) {
        return baseMapper.selectDetail(id,community_id);
    }

    @Override
    public Integer findId() {
        return baseMapper.findId();
    }

}
